[feature/net11-scouting] Update dependencies from dotnet/arcade#19648
Merged
T-Gro merged 5 commits intoApr 30, 2026
Merged
Conversation
…425.1 On relative base path root Microsoft.DotNet.Arcade.Sdk From Version 11.0.0-beta.26211.1 -> To Version 11.0.0-beta.26225.1
…ackageReference The arcade SDK 11.0.0-beta.26225.1 removed tools/BuildReleasePackages.targets (moved to toolset/). Replace the direct import with a PackageReference to Microsoft.DotNet.NuGetRepack.Tasks, which provides the UsingTask for UpdatePackageVersionTask through its build assets. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The .NET 11 Preview 4 SDK enables NuGet package pruning by default, which removes packages already provided by the shared framework. This breaks FSI #r nuget resolution for packages like Microsoft.Extensions.DependencyInjection.Abstractions. Disable pruning in the generated project file so all user-requested packages are resolved. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
In .NET 11 Preview 4+, several Microsoft.Extensions.* assemblies moved into the shared framework (Microsoft.NETCore.App.Ref). When a NuGet package's assemblies are superseded by the shared framework, they appear in ReferencePath from the framework ref pack but not in RuntimeCopyLocalItems. The DependencyManager's MSBuild target now correctly discovers these assemblies: - Use RestoreEnablePackagePruning (correct property name, was EnablePackagePruning which NuGet ignores) to ensure NuGet resolves actual package DLLs, triggering conflict resolution - Add Update rule to mark framework conflict-resolution winners with AssetType=runtime so FSI can discover them via #r nuget resolution - Guard the Update with a CopyLocal check to preserve existing behavior for packages that still have real runtime assets Update test assertions to reflect that framework-provided assemblies resolve to ref pack paths (not NuGet cache paths) and have no package roots. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
On CI, NuGet generates Pkg* properties for resolved packages, which the DependencyManager uses to find nuspec files and derive package roots. The directly-requested package still provides its root; only the transitive dependency root is gone (now framework-provided). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
T-Gro
approved these changes
Apr 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the following dependencies
From https://github.com/dotnet/arcade